@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: "Source Han Sans CN", "Source Han Sans SC", "思源黑体", sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
  height: 100%;
  overflow-y: auto;
  background-image: linear-gradient(135deg,#00345C,#01152D);
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  // margin-top: 30px;
  margin: 0;
  padding: 10px 0;
  background-color: transparent !important;
  color: #ffffff;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//部门树形结构
.dept {
  color: #ffffff;
  height: 100%;
  text-align: center;
  font-size: 16px;
}
.dept .tree {
  background-color: transparent;
  color: #ffffff;
}
.dept .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content,
.dept .el-tree-node.is-expanded>.el-tree-node__content,
.dept .el-tree-node.is-current>.el-tree-node__content{
  color: $base-sub-menu-active-color;
  background-color: $base-sub-menu-active-background;
}
//更改箭头位置
.dept .el-tree-node__content > .el-tree-node__expand-icon {
  position: absolute;
  right: 10px;
}
.dept .el-tree-node__content > .el-tree-node__expand-icon .is-leaf{
  display: none;
}

.dept .el-tree-node__expand-icon.expanded{
  color: $base-sub-menu-active-color;
}

.dept .el-tree-node{
  white-space: normal;
}

.dept .el-tree-node__content{
  min-height: 45px;
  height: 100%;
  &:hover{
    background-color: $base-sub-menu-active-background !important;
  }
}

.tag[class]{
  width: 200px;height: 25px;line-height: 25px;color: #ffffff;background-color: #004A8D;border-color: #004A8D;font-size: 16px;font-weight: bold;margin:0 30px;text-align: center;overflow: hidden;letter-spacing: 2px;
}

.button[class]{
  height: 25px;
  line-height: 25px;
  padding: 0 15px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 2px;
}

.info-label {
  font-size: 14px;
  color: #c6c6c6;
}

.info-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 10px;
  text-align: left;
}

.drawer-footer {
  position: absolute;
  bottom: 90px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;

}

.footer-button[class] {
  background-color: #004A8D;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  border-color: #004A8D;
  border-radius: 2px;
}

.top-title-border{
  border-top-color:  #003B70;border-width: 2px 0 0 0;border-style: solid;
}

.top-title-background{
  background-color: #01152D;height: 40px;
}

.background {
  background-image: url("../../assets/images/container-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vue-treeselect__label {
  font-weight: normal;
  color: #01152D;
}

.dv-scroll-board .header {
  background: linear-gradient(to right, #0f1111 0%, #1d506f 100%);
  color: #fff;
  margin-top: -10px;
}

.dv-scroll-board .header .header-item {
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 15px !important;
  height: 15px !important;
}

.dv-scroll-board .rows .row-item {
  font-size: 12px;
  line-height: 24px !important;
  height: 24px !important;
}
